package com.xh.sys.config;


import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.CommandLineRunner;
import org.springframework.stereotype.Component;


@Component
@Slf4j
//public class InitApplication implements CommandLineRunner {
public class InitApplication implements CommandLineRunner {

    @Override
    public void run(String... args) {
        log.info(">>>>>>>>>>>>>>> application init start <<<<<<<<<<<<<");

        log.info("初始化app信息");
        log.info("host: {}", 123456);

        //log.info("serverApi: {}", serverApi);

        log.info(">>>>>>>>>>>>>>> application init end <<<<<<<<<<<<<");

    }
}